<div class="footer">
    <div class="newsTicker">
        <div id="ticker-wrapper" class="no-js">
            <ul id="js-news" class="js-hidden">&nbsp;</ul>
                
        </div>
    </div>
    <center>
    <div class="maps">
    	<ul class="map">
            <h3>berita terkini</h3>
            <?php if(count($this->berita)>5){ ?>
            <li><a href="<?php echo base_url()?>home/view_berita/<?php echo $this->berita[0]['idberita']?>"><?php echo $this->berita[0]['judul']?></a></li>
            <li><a href="<?php echo base_url()?>home/view_berita/<?php echo $this->berita[1]['idberita']?>"><?php echo $this->berita[1]['judul']?></a></li>
            <li><a href="<?php echo base_url()?>home/view_berita/<?php echo $this->berita[2]['idberita']?>"><?php echo $this->berita[2]['judul']?></a></li>
            <li><a href="<?php echo base_url()?>home/view_berita/<?php echo $this->berita[3]['idberita']?>"><?php echo $this->berita[3]['judul']?></a></li>
            <li><a href="<?php echo base_url()?>home/view_berita/<?php echo $this->berita[4]['idberita']?>"><?php echo $this->berita[4]['judul']?></a></li>
            <?php }else{ ?>
            <?php for($i=0;$i<count($this->berita);$i++){ ?>
            <li><a href="<?php echo base_url()?>home/view_berita/<?php echo $this->berita[$i]['idberita']?>"><?php echo $this->berita[$i]['judul']?></a></li>
            <?php } ?>
            <?php } ?>
        </ul>
    </div>
    <div class="credit">
    	<b>RnD Comlabs </b>ITB copyright ©2011 All Right Reserved
    </div>
    </center>
</div>
</body>
</html>
